package com.example.victory.swagger.model;

import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.validation.annotation.Validated;

/**
 * ApiResponseLastTradeDateData
 */
@Validated
@javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2021-04-26T10:50:39.083+08:00")

public class ApiResponseLastTradeDateData   {
  @JsonProperty("lastTradeDate")
  private String lastTradeDate = null;

  public ApiResponseLastTradeDateData lastTradeDate(String lastTradeDate) {
    this.lastTradeDate = lastTradeDate;
    return this;
  }

  /**
   * 上一个交易日
   * @return lastTradeDate
  **/
  @ApiModelProperty(example = "2019-06-04T00:00:00.000+0000", value = "上一个交易日")


  public String getLastTradeDate() {
    return lastTradeDate;
  }

  public void setLastTradeDate(String lastTradeDate) {
    this.lastTradeDate = lastTradeDate;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ApiResponseLastTradeDateData apiResponseLastTradeDateData = (ApiResponseLastTradeDateData) o;
    return Objects.equals(this.lastTradeDate, apiResponseLastTradeDateData.lastTradeDate);
  }

  @Override
  public int hashCode() {
    return Objects.hash(lastTradeDate);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ApiResponseLastTradeDateData {\n");
    
    sb.append("    lastTradeDate: ").append(toIndentedString(lastTradeDate)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}

